package com.example.demo.services;

import com.example.demo.entities.User;
import com.example.demo.entities.User1;
import com.example.demo.entities.User2;

import java.util.List;

public interface UserService {

    List<User> queryUsers();

    User getUser(long id);

    List<User1> getUser(String name);

    boolean delete (long id);

    boolean add(User1 user1);

    List<User2> findByUsername(String name);

}
